Added license information and .gitignore.
Added license information and .gitignore.