API for the "marketing" class, can be used as a gem. Tests included.