initial very rudimentary version of single page application