adding in has_many and belongs_to logic, getting rid of old controller