Add .gitignore
Document class and instance methods