Created an interface and factory to unify nospa and sparql validators