extract code into autoload, syntax and ftplugin files