StaticRouter now retrieves root directory from settings class