New stuff

Renamed a directory, currently porting scripts to D and found a bug in
segments generation.