added basic server architecture