setup basic server and basic structure