rename master to parent, fixes #14