Change the Tuple class to dbTuple
Create the class Database
Service now uses database class