adding basic authentication and model definitions
Merge pull request #1 from devshorts/master

adding some basic api