threading, and main allows keyboard use
rename to make room for django