create server object, make pid acquisition more elegant