Create server and basic constant and handlers