Reimplementing persisted data

Known Bug: Code size is currently too big to draw images.