Janitor ct test code
Cleanup some ct code
Enable get_dir code
Fix update of parent node when deleting a node
Closes #31