Added name sanitisation. Added ability to delete nodes