Made the server run asynchronously.
TODO comment update