header file for transition controller
further progress
get some flash space
some fixes