Added spawntornado code.

Signed-off-by: Lucas Arnström <lucasarstrom@gmail.com>