A simple router for Single Page Applications