Well Sifo-Dyas commissioned the clones so I'm assuming he provided the template, Doku wanted to keep the a secret for later perhaps even after the war. (The sith like to think ten steps ahead.) However I am assuming that Jango would fight for the Separatists because he had already attacked Jedi and attempted to assassinate a Senator.