Added the Category Factory and Schedule Factory