Implemented factory pattern SessionFactory.
Slightly more mature Factory implementation, and placement of the Configurator class inside the provider.