Cleaned working area, split code into 3 files, main is in r1.c, got date, setdate, and all commands working. seperate header files for seperate source. And have a working compilation program.