cleaning up vallidator and removing lodash from package