We first define the class RsiMachine which extends the class Machine of SugarCubes, then we use it to define Interpretor which is the main class of rsi-java.