Re design

Added BaseClass as all the models include 

    include ActiveModel::Model
    include ActiveModel::Serializers::JSON

and need to have

    def attributes
      instance_values
    end

method.