Why is this in lib and not app/models?