Adds Open/Close Disc Tray, Eject USB device code

Adds code that handle opening and closing a disc tray and ejecting a USB
device. The disc tray code seems to work, but I'm having issues with the
USB device. Also made some changes to code layout.