basic server architecture

remove unused var