Added functions for IO processing. Updated init file and docs.