Added initial implementations of the api interfaces and classes.