cleanup of module

cleanup of reporting statements, implement a check for the
build_and_test command