switch Pupa::Base class to Pupa::Model mixin