How can I build a boy's storage loft bed?

Kmo4149175
by Kmo4149175
My son has a teeny, tiny, dinky room and I would like to build a lift to maximize space. I would like it to have a ladder with a trap door underneath as opposed to a ladder on the side. Also, some kind of desk or shelving underneath. Any help is greatly appreciated!