Merge pull request #153 from clovis/master

Delete unneeded history.js files
fix ability to store tables in another file
make toms.db the default database for sql tables
small bug fix in indices
close database connection
Merge pull request #30 from ARTFL-Project/master

Update dowstream