Move retriever code from MBC to Retriever
Convert code length table back to int[]