implement "explain" API
Merge pull request #12 from fmardini/master

Implement the explain API