Added interactive console and execution of queries from files.