Tidied up, added gitignore, fixed licence