Splitting functionality into three modules (adding two submodule for reporting and transactional emails). Starting to change D6 to D7 code.