Made Registry and Config static classes