First implementation of the application.