Refactored the jax-rs code for binding json to java
Refactored most classes to be immutable