Implemented "LOAD_DOC" part of IO, from IOController to MainController.
MainController to Document remains.