Modify some tests
Fix errors
Separate encoder and decoder from erasure coder
Remove Erasure Coders
Fix bugs