Added most or all sql object forms of what we use.

Template unit test for those objects added.