simplified the interface of dist command call
add debug output
modify interfaces in core.py
update README.md