split header file from layout