Adds the database class to the fruit name chain. We now have a complete chain from gui->bl->db -> back to gui.  Cleans up some naming conventions and adds debug statements.