Implementation of single page app