adding adding_methods call in setup_generator
refactoring add_relationship and add_validation methods, adding_methods added