Add .gitignore file, remove .idea folder, fix license