Added some new java classes for objects.
Added some new java classes for objects.