Move node-based initialization into separate file