Wired up category repository in controllers