Fixing some bugs in the example and starting server fixed for multiple python versions.