improved pendulum motion and release mechanism
added module for pendulum motion