reordering stuff; added some testing infrastructure
todo.cabal tweaks