StateManager and State base added
Refactored directory
Program using states now