Added API documentation. Added license.