Added requirements.txt
Made complex example work
Eliminated sleep