fixed compile errors for IO
added README