Added FunctionReplacer.cpp front end to repo