Implemented write/read methods for Tray

Implemented Tray.readAll() and Tray.overwriteAll()