created main application