Added new java utilities and data structures