Created a constructor and render methods for the property class