Use drawer slides; mount the drawer on the wall; attach the shell to the slides, so it pulls out. Shifty Desk / Hallway Stand by Daniel Schofield This is such a great storage idea! It can be a shelf and a drawer.
27 Ways To Rethink Your Bed: Bed in a Closet. Also check out the Roll-Away Bed under a Platform; Cool way to quickly tidy up a small space, and keep pet hair off the bed! Maybe put a little reading or office space on top on the bed?