can load multiple bodies and targets

and some refactoring;  added some integration tests.  Working on #45 and #46 .