Add tables support
Support env python, 'src' default src path, updated global vars
Updated improved copy_file function
Updated main method
Correct global varname "MD_FILES"
source_path fix
Port to python3, step1
Port to python3, step2