foundation for single page app