Rewrite Harry Server in Java