addition of example module (needs more work) and cleaning up of cmfive
core classes.