add Application class and update manifest file