Refactoring of configuration

Now allow to run the script in 3 modes to generate the 3 NEM files
(train, tram, bus)