added a little to the DBAdapter Class, and worked on making the
fragments work