unified database-access:

 * switched all calls of select,delete,etc. to query
 * for compat. reasons select and friends are still usable, but this is
   not recommended as they will removed soon