Initial working version of the application. Tested.