Some minor tweaks

Added optimize and debug info to #! line
Made combining code memoizer live the left of the run
Removed passing around global NSFileManager instance
Made it a little more ‘functional’