basic updates to python style
use tornado for synchronous requests