Added licence text to each files. Added .gitignore.