turning into single page app
merging to singlepage app