Start of rewriting using MVC and Flask doc advices