adds changes to use cmake framework for building files