fix NPE
add log4j configuration
fix jbehave test
implementation of the pricer