Readwrite updates

Changed the way read and write work and started in no starve mutex