fixed build script
added syntax highlighting for lex & fixed test
improved ui for configuring lex format + refactoring