Added bluetooth end and did some integration