Introductions of some modes, COLLECT, ANALYSE and MINIRUN.

MINIRUN mode currently not functional.