added generic classes for mids 3,4,5 packup revisions for mid2