Added attributes and  drafted constructor.