Added preprocessing steps
Moved io to io_utils