create the base structure of server