Support for special alternatives and buggs fixed.

Implemented the alternative cases like FREE-LOCOMOTIVE or USED-RAILWAYS.