init node daemon skeleton code