[lnst] ctl: Massive refactoring of the RecipeParser