layered/Encoder: renamed to LayeredEncoder.
Complex: added a complex number lib.