Add services factory to simplify controller.