WIP: Templatizing planner, builds but doesn't link
Missing inline implementation for breathfirst