sets up the creation func call
adds the create_module func
sets up the local vars