AppEntry refactoring, removed unused methods.