Initial commit of stack-builder code