got all relationships working

some issues with "order by" for HMABT relationships
needs more checking with options