migrate out bt strings to self contained lib