Buildout of router and first stab at database.