correct locations creation and tornado server

Signed-off-by: Fons <lord.fontana@gmail.com>