added animations, added a timer class