add instance variable persistence into view layer
refactor persistance