added DB tables
implement entries DB