converted feature extractor to work exclusively in unicode
refactored code to use constants defined in conf/config.py