Split out views; reconfig to use localstorage.