Added warden gem.
Refactored.