Switched from MongoDB to MySQL, added tests, upgraded some modules, various other minor tweaks.