Fixed logging, updated javadocs, prepared for maven central