Added queue
Added Reader and Writer method to queue