Updated code to use cmake and updated the match program to use sift parameters as runtime options.