Some code.

Added modified version of logging code from the old
MCTX3420 project.

First attempt at using CMake.