Added Lighting Algorithm clas, updated ThreadManager to have a generic means of creating multi-threaded executions.