Resolves #7  Auto-create branches for layers