build apps, layouts, partials more sensibly