Updated databases

Added new columns to the main todo DB and create a new history DB as
well