restructing MultiDimRay2 example by Thorsten Kiefer. adding build scripts.