Renamed the formats package to io
Many minor changes