Updated the pom of the desktop module so that it loads the application.properties and therefore sets the main class in the resulting jar file.