Added proxy stuff and references class
Added proxy stuff and references class