Use tagged version of beaker4j
Add exception logging and javadoc
Do some refactoring