Fixed a bug with the ID recognition
Completely rewrote the engine. It now uses html-scanner and handles ERB correctly
Finished rewriting the engine. ERB now works fine