consolidate plgx classes into one