Added background class to handle background drawing