changed usage of qualified functions to global functions with prefixes (i.e. CoTrees.unfold -> cotree_unfold)

Signed-off-by: Pepijn Kokke <pepijn.kokke@gmail.com>