cleanup build system
add docs for planning pipeline