Here is the BlueBox source code.