Created basic server.run() impementation