Dataset access and query status for clang

Allows actual calculation of run time and query status during execution of query. Allow creating new datasets from queries and accessing datasets from files 
just make sure they are set in one place