Written the SDK in Java

Also re-written and added the SGVM in Java