Building DB and DBO Objects for querying and saving data.