Single page application boilerplate