added documentation: parser protocols and such