Initialize objects with the class