use cmake as a build system.
use cutest defines to link against tests.
start writing a stream interface + implementations TBD