updated licence information and added gitignore.