Updating shop sample.
Minor refactoring.
Updating docs.