moved c files into public and private folders.