remove core and config class