Repnet

Work in progress version of Repnet before upgrade to 1.6.4