Added a toolkit to make run/get/gen more easily.

"run.py" is removed and replaced by "pe";
Fixed some bugs.
All utility scripts are moved under "tools" folder, to make it more organized.