Lots of changes to be merged

Replace Error Value with Nil; create a type alias for the database; allow integers to be added as strings (by inserting them like so: "set \s123423") are the big ones.