updating Application main class and file application.properties