Change instantiation method to work with sessions

I hadn't realised that the sessions module itself called `new Store` and
not store(). I have changed the pattern for instantiating the store to
allow for either new Store() or Store().