Create AppState a GUI controllers to take care of controlling different states.
closes #4.