// Module loading stuff
FloodlightModuleContext fmc = new FloodlightModuleContext();
RestApiServer restApi = new RestApiServer();
deviceService = new MockDeviceManager();
FlowReconcileManager frm = new FlowReconcileManager();
MockThreadPoolService tps = new MockThreadPoolService();
ITopologyService topology = createMock(ITopologyService.class);
vns = new VirtualNetworkFilter();
DefaultEntityClassifier entityClassifier = new DefaultEntityClassifier();
fmc.addService(IRestApiService.class, restApi);
fmc.addService(IFloodlightProviderService.class, getMockFloodlightProvider());
fmc.addService(IDeviceService.class, deviceService);
fmc.addService(IFlowReconcileService.class, frm);
fmc.addService(IThreadPoolService.class, tps);
fmc.addService(IEntityClassifierService.class, entityClassifier);
fmc.addService(ITopologyService.class, topology);
fmc.addService(ISyncService.class, mockSyncService);
tps.init(fmc);
frm.init(fmc);
deviceService.init(fmc);
restApi.init(fmc);
getMockFloodlightProvider().init(fmc);
entityClassifier.init(fmc);
tps.startUp(fmc);
vns.init(fmc);
frm.startUp(fmc);
deviceService.startUp(fmc);
restApi.startUp(fmc);
getMockFloodlightProvider().startUp(fmc);
vns.startUp(fmc);
entityClassifier.startUp(fmc);