remove attr_reader from base class
use uri_template gem