split out classes into headers