Version 0.4.0 ready for publishing to sonatype