move top-level parsing implementation out of __init__ and into
a real module, so it can be imported and tested

add tests for top-level parsing

clean up profiler to use top-level parser
move examples -- of loading data from multiple sources, and running queries -- into example sub-package