remove unused
clean
add comments
remove fake_encoder because not usefull
add some comments