moved from QueryDB to Trial as list objects, refactoring
- database handler  now uses Trial objects and the database records all of that information
- mainactivity now uses TrialFactory