Break habtm_with into separate files