Skeletal implementation of db manager thread