Added a connection factory for future purposes