Added movement and drawing functions, these are still being heavily modified.