specialize command interpreter and query processor

Command interpreter now will focus mainly on checking syntax of the
input, while query processor will do the work, analyse and get response