module code_man to generate subscription codes