Standardized function section headers, changed the code_gen and message_to_all modules to be used by the targetting module rather than stand on their own