Refactored XxxCodes

Refactored XxxCodes
Added drop script