#69 Fixed the application class so it works with Spring