Got the main functionailty of the animation class done, but not finished yet.