move ff* structs & typedef into dedicated namespace