Made the syntaxset take care of directives as well and it should be be responsible for both the basic and complex parsing of lines.
Moved the directive stuff to its own file and made the design cleaner. Also started to inplement some of the directive loading/parsing.