Advantages of objects in programming