Re-factored variable and function name generation. And started documenting the imperative PCL syntax.