Added xml reading and loading for maintenances