fix and improve frame.decode interface
use improved frame.decode interface
make send method local
remove noise