changes to DBconnector and abstract handler