Initial architecture

Setting up an initial application architecture based on https://github.com/sourcegraph/thesrc