Remove provider and resource, add lockfile_dir attribute