Fleshed out the C files.

The header file describes a public API.

The .c file provides the implementation.

This way we can just build a library and distribute it and the header
file,
allowing users to link it.

STILL WORK TO BE DONE ON THIS!!!