part of persistence task

part 1, prototyping stock persistence