migrate lessons and add route