Update store template to switch on action.type
Update store template constant reference
Merge pull request #6 from BenEddy/master

Update store template action handling