Added some getter, setter and equals method