Add class Timer, StateManager and State