Organized the files into .c and .h