setup server basic structure