Restructured database tasks. Added reset_db task autorunner.