refactored naming in sample
refactored context into own file
added and used in-memory store for example