removed sqlite context manager due to windows bug

also removed unused pandas import, and made a few pep8 fixes
Merge pull request #2 from colindickson/master

fix to issue #1