constructor fix

changed visibility of the consturcftor so that the eth can accesses it