added some Java interfaces and classes