ControlVariableTable refactored.

Also added the diagrams and manual to the project.