added license and fixed gitignore