updated config file format and controller