refactoring

Functions in slaveMonitor package refactored to smaller pieces.
CreateFormWithInitialValues function created in network package.