Mysql swap

The script for My SQL are in the setup folder and the config for the database is in dbconf.js
Tested using the all call with a category filter and all seems good. 
The date format works but you may want to format it to something more friendly.