refs #3 Using sandstorm.middlewares