added ability to create connection without using pool