Added main.c and globals.h with basic skeleton code