Worked out the basic server layout