Issue #1: Allow for using custom configuration for publishing artifacts. Split out tests into multiple classes.
Tidy up some code.
Bumped up version and updated documentation.