1. Inline documentation of api.php code
2. License updated ( copyleft if I may)
3. Readme updated with ussage and confessions.