added some missing methods
added constructor
added constructor