added licence and .gitignore