created main server