TOE_init with states RAM WIP