knockout editing existing layers
layer preview and offline storage