Improvement of the logic

I improved the logic and also added the DataAccess library. I had to
update the important classes DB_Query and DB_QueryResult locally due to
the fact that important attributes were removed. The three functions
(create, delete a DB_Query object and also read a alist of DB_Query
objects) are still missing in the SearchDataContext class.