created timer class. added animation feature.