cleaned up xt.database package; add sleeps