added an animation class and updated some of the actor stuff