First version of the api.
updated .gitignore