Add first stab at API documentation