Adding campaign factory code to github