added Application class