Added startRails.py and updated main.py