Replace `attr_accessor` with instance variable

The `features` hash does not have to be accessed from outside the
repository class.
Add Redis repository