pub fn initialize_common_modules(
    conf: &mut Configuration,
    exit: Arc<(Mutex<bool>, Condvar)>,
    node_type: NodeType
) -> Result<(Arc<Machine>, Arc<SecretStore>, HashMap<Address, U256>, Arc<BlockDataManager>, Arc<PowComputer>, Arc<PosVerifier>, Arc<TransactionPool>, Arc<ConsensusGraph>, Arc<SynchronizationGraph>, Arc<NetworkService>, Arc<RpcImpl>, Arc<AccountProvider>, Arc<Notifications>, PubSubClient, PubSubClient, Arc<Runtime>), String>