fix wrong .gitignore and add plugin interfaces back