tidy up exception handling/logging
add jar to repository