frontend uses routes now, shuffled around the controllers a bit