Added a license (Apache License, Version 2.0).
Also updated .gitignore