Merge pull request #2 from DavoudTaghawiNejad/master

Pulling Davoud's work
DB connection update

to match the new FirmStats
added a batch to dump the database into CSV
Merge pull request #3 from AzHass/master

Added a batch to dump csv, modified DB connection