Changed config file format

Transitions are now specified separately.