added some types to common module
moved query parsing from interpreter/command language to client implementations