Moved C++ code into its own Library; removed dependency on Bob