Added api package
Merge pull request #4 from mrfoh/api

Added api package