wrote cmake build structure. started core of program