Added methods to Database to get and add individual Factoids.