Create XHRs & Dependency injection