created Database convenience class