Device Info program in C

Closes #3.