Change config from hardcode to config file with auto load