Moved LUT generation into own file, spearated SH_gen into header and source files