setting up basic server