Added timeout.py.
timeout.py is now in its own file.