[code] start smart header building, thoughts about nav controller