Core API Documentation and Sample Code