IO CLASS NOW COMPLETELY WORKING READ, INSERT AND UPDATE.