Change config file structure and add config GUI