Change many-many style

Making all has and belongs to many migration, has many through