api: implement CORS
pigro: remove useless requirement
Merge pull request #3 from RoxasShadow/master

api: implement CORS