Fixed the strange bug with the ragdoll movement. Added Events class which is still not working