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 
use flag as switch instead of url