Initial Commit

Initial commit of base main.c and supporting files.