adds generated files to gitignore, restores concrete classes