feature: --debug flag alias for --quiet. Closes #101
refactor: move store factory to own file