reorg into a single page app