completed token lookup and finalized database connection use by creating new Db() class