moved the tray bits down to a baseclass, just follow the examples as to how to use