Adding a Application class.