update readme and tutorial to add --swig flag