added latex documentation and started writing the control suite for forms