Remove Application class and main entry point