added gitignore and some comments/docs