created branch uris.
Changed user and group identifier to use longs instead of ints