Convert modules used in production to stream modules

Based on results from the static analyzer, we determined which modules would be safe to convert to stream type and therefore work properly when used in the threaded framework.

Created a script which automatically converts a list of modules to stream modules.