Add API
Merge pull request #5 from Ch00k/api

Add API