Move Config and ConfigHelper classes to separate file