Only load addins from the current prefix
Move some constants to the config
Fix renaming templates