moved several classes into AppConfig for instantiation