Added the license to the main file and updated the gitignore