Created main C and header files.