Added krio.py with the prepare_directory function. Edited README.md to reflect these changes.