Added Boost to cmake, and added some debugging functionality.