extract dashboard page model class and some helpers.