Added support to create factories by service name