Renaming Factory to Encoder
Updating index