Plug and play, restful, real-time application framework for single page apps