updated filestructure
updated README
cleaned up C file