RTL - Refactor the RTL source code