Adding better java support
Initial version of Java Sender