created main gui