Rapid application framework for building single page apps