vertical directories

Fixes #27 and sets up build for #30