Documented and refactored Console modules of the Xen and UNIX backends