Revert "Revert "added main files of the SPA""

This reverts commit 81045369920efd1cb7c1acfdd56673f37b05abc7.