added slf4j, fixed constructors.