Migrating old C files into this repo