initial work done on the connection adapter abstraction
reworked the entity claesses