engine: Extract network creation logic into method

The network creation logic can and will be reused.
For that purpose it is being extracted into a base class.

Change-Id: I18c1992c14603e5f00d4b7e26b9d27100e8ccf33
Signed-off-by: Moti Asayag <masayag@redhat.com>