Remake Lesson controller and templates for using twig.