Add Single Page Application initialization