Replaced API requests with AlamoFire