remove unused module imports lines
remove some more unused module imports lines
utilize anyconfig.{load,dump} instead of yaml.{load,dump}