remove "case class Config". just use Endo