Extract Reaktor code into separate file