Implemented routing

Implemented hash routing and created a new `routeTo` directive that facilitates routing from views.