more routing and dom logic

Some routing and dom logic done. Not 100% mobile ready (yet).