add three .py files

interface.py , mysql.py , scripts.py