Reworking code to make it less procedural and take advantage of object oriented structuring.