use varargs
add appender config parsing