Finished StateManager and ScreenManager

Fixed #3