refactored

added functions to handle dataset and features preparation
modified procedure file

edit
Merge remote-tracking branch 'origin/master'