simple router component for modern SPA