bearcart cleanup
add options for index and plot_type
better coverage on tests, in separate class
pep8 fix for bc