added persistent connection pool
moved back to local variable
Merge pull request #9 from wick-ed/master

added persistent connection pool