got the header and code files working with cmake and different directories