Setting up Single Page Application