adding api v1
Merge pull request #24 from douglassims/master

adding api v1