Beginning code for movement and animations