Break out html markup
Split presentation and handlers
Break out route handlers