Added support for both local and session storage.
Merge pull request #2 from ryanbarr/develop

Added support for both local and session storage.