moved all tray stuff to the drawing class so we can reuse later