moved some packages around, added helper reader and writer for bt socket