refactor all the syntax checkers to use the new API and dir layout