added getStore to module exports