Added documentation to MainFrameController and Validation classes.