reorg and a1 learning rule
reorg, logging, tiny-learning