Divided code into module and main spawner.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Updated deployer project file.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>