how to construct classes in general. Object and classes.