PHP single page application boilerplate