support for model sorting, fix for multiple EOF in stringSrc pipe, use resourceHandlers in model-loader