A great refactor of Tequila framework