Added explain handler. Input=DATABASE output=EXPLAIN