Organizational Restructuring

What if the set of core team developers are working on some other product without informing the managers. As a HR how can I stop it. We do not have a permanent PM. Is that the issue? Will the mass resignations effect the organization ? Is there any way I can set up the process flow chart for maintaining harmony at place. ( P.S: it is a start up firm )