add smart.py
update README.md