Build single page application using routing tree