Trying to get the main part of the application to work.