issue #14 Added new routing.js with a simple router object and method which routes based on hash fragment and regex.
Removed switchView() method which is now handled by the more flexible routing.js.
Added view functions to main.html