Added prototype repOrigin parser and datastructure