updated animation, added button class and rectbutton class.  implemented start, stop, pause, resume buttons.