added framework for marketing campaigns, refs dioscouri/amritasingh-f3#76