Added /client/ code and updated logging

The entire /client/ directory was missing from the repository because if
some haphazard .gitignore-ing. This has been fixed now.

Log now writes to std::cout instead of std::err.