Added reference classes, proxy classes and a logging utility