modified the features and loadExamples and main to use more features
fixed merge conflicts