added to class

added constructors and methods