How do I make subcrates?

You can drag and drop crates into other crates to make subcrates. 

If you drag a crate to the very left of the crate panel, it will stay in the top level of the crate structure.

If you drag the crate a little to the right, onto the name of another crate, it will make the crate you are dragging a sub crate of the first crate.