Added source and CMake files.

Initial commit of console source.