Removed relational model and replaced with metadata model where needed.

Updated related code and tests.
OK. Will rename and move to SQLite and add work item with reference in code about SQLite extensions.