reader macro and refactoring of the initial setup of the parser and bindings