added some API methods and classes in the interface