move patrick to separate catUtils module
fix some windows problems in setup script; take care of submodule init