Simplified slf4j dependency. Added Java library.