Make report processing a class instead of module