Adding start.py and fixing bugs.