add requirements.txt and dependencies.txt, simplify run.py