Converted the source code analyzer library to a middleware module.