Initial backbone of import and log declaration rewriting. Storing variable name/type information.