Changed Database structure for nodes
Add node to database