Moved codes to codeTableService