extract snapshots in a function
move get_snapshots to App + tests
build notation to label mappings in App.get_snapshots
fix mapping building