Build a single page application using routing tree