Application class now receives a container