Added DByte as a database layer, converted some db calls to work with DByte.