architecture fleshed out

predictive search stubbed in