removed lodash dependency
changed module exports definitions