Single page app using Flat-UI, Dynatable and HTML5 localStorage