First steps to new C program design

I updated the Makefile for more possibilities. You can take it as template for the future CMake scripts.
Furthermore i did first changes in the direction of my version for a model with instances and safer code.

Next i would like to add the license and rename functions names, so i wait for your decisions in open issues.