Replaced attr_accessor with writer on configuration.
Use RequestStore instead of Thread.current to fix #24. Clean up dependency requirements.