Modify const_missing generation from generating classes modules
rename specs
remove file
HasMany takes Hash
add attr_permit
update test mocks