Added require_feature_sets pragmas
Reorganizing code, moved nil and vars to their own modules.