Moving the java bindings
Initial work on the C bindings