extract data out of controllers and put them into their own repos