Makefile for core commandline programs

* working Makefile for the commandline core-programs
* updated command line source files to compile without error
Program Main Makefile and .gitignore

* Added tested top-level/main Makefile
* Added .gitignore configuration file