to integrate code into the Sandbox engine, you'd have to find the right source code file (under mainfolder/src), add in the code, fix all the other files to work with it, and then recompile Sandbox.
Also, don't forget to use
for code or other long things.