optimizations
add metadata to Java proxy. Add getattr and setattr as well. Closes #12