started fleshing out the dynamicVariable function

started fleshing out the dynamicVariable function and added a sanitize function for cleaning out whatever you don't want in the input string options for replacing the variables should be available too