First constructor for class