Added License and .gitignore
First try of first method in the API