Merge Hans' 1.0 version of nwc2ly.py into my new architecture.