Add method to build session factory using a connectio string