Refactoring of Java server, updating API and ZK interface, prototype working