moved parse_response into bamocar class