Added in table names. Admin console now enabled.
Issue with nested foreign keys only returing ID remains: enumerations may simplify things considerably.