added constructors setters and getters. close #19