debug preconfigure, refactor remote chef api