adding cpp files and rearranging the structure
fix undefinedreference error