move code in cookbook dir