Also remove CC and link flags since linking is done in main Makefile
Now major include files are comming from main Makefile, module need to add just their specific include path. To work make the include path absolute.
Standardized function naming, and added more consistent methods to prevent memory allocation errors.