initial add of planner lib refactor
more refactoring ... app working again w/move of code to plib