move Appender to separate class