[Mailman-Developers] [CLI Project] Code refactored as per feedback