add Alamofire, add heartbeat timer