added a createServer class