Use config
Deal with the events
Add getAtrtibute for Eloquent etc.