Reverted previous commit. Implemented class Application.

Attempting to begin with implementing the state stack did not work, which is why I decided to revert the previous commit and simply begin with class Application.