refactor Config class, update Strategy