added classes and gen dir exclusion to .gitignore