Removed API namespace
Temporarily reverted each loop
Merge pull request #3 from 9miles/cors

Updated to work with the CORS-ready API