I have a kitchen with a high ceiling and want to install an extra level of shelves to make use of the space. To reach the top shelves, a ladder is required. Ideally, it would be attached to a rail and be removable.

My question is: How can I build this type of thing? What parts do I need to make the rail and ladder myself?