Refactored Java server, added Python simpleserver, added unit tests to Py