add some basic API documentation to the readme