started adding a main.c script for testing the structure