SPA Application structure