Add new type "pwm_t" and "attitude_t"
Rearrange the code