Design and development of integrated software for design and analysis of rotary locking mechanism of firearms