Process Compilation Methods For Thin Film Devices: Basic Algorithms, Recipe Generation, Flow Evaluation, and System Framework