Added horse factory to config