added base classes from java project