Move RayTracer to a DLL, and add a command line application which calls the exported function of the DLL.