clean up in plugins code, remove unneeded files