added main.c/.cpp files