Buggs fixed
Added bluetooth functions