Refactor LiteRecord  first() and all()