put movement and mouse in classes