Programatically configuring the SchedulerFactory - Fixing  #4

I've added a settable function to be used to configure the factory programatically.