Application class added with Singleton Template plus tests.