refactoring makefile for simple test framework
refactored cgenc_core into cgenc_core and cgenc_util