Proxy initialization moved to Application class