add some bittwiddlin' tools
use them, cut a ton of lines out
fix exports and modulify
tiny encryption algorithm