* Implemented most of the application.