Refactored code
To seperate out simulator from feature extractor. Modified the CMakeLists.txt to compile both (though it seems that it might be compiling only one of the binaries