modified dbserver to be nonthreaded, removed excess from dbclient