Merge pull request #4 from lbjay/master

packaging stuff
* usable as a flask extension
* setup.py for packaging/installation
* refactored configuration