added maintainable and reusable instance disconnect flow, changed entity-level config to allow partition keys not be primary keys if set so
added maintainable and reusable instance disconnect flow, changed entity-level config to allow partition keys not be primary keys if set so