WIP: loading nodes from db.