Using hashie instead of deprecated mash
Added setter. Could not use class_eval / attr_writer because of Hashie
Refactoring ftw