Added support for relationships and table metadata in data structures. TODO: scaffolding command executin