refactor: extracting the whole compilation logic from the viewmodel
translated all to english
fix bug BEQ
added NOR support
refactor: drying the HTML