add migration for modules table
write test for has_many :modules association