Important changes in this commit:
1. Improved comments
2. Support for Oz record output added
3. Support for optional word feature output added
4. Validity check for core and word features added.