Added a \todo, abstract selection flowchart, some compileEnv changes + added docs