Cleanup of dead code, adding Inventory wrapper from CoFH and adapting Raytracing code from MachineMuse to fit laser needs