fixed NullPointerExceptions and renamed BbHTTP to BbData to reflect future changes