implemented macro for parsers definition and generic dispatch function
Merge pull request #5 from vityok/ticket-2

implemented macro for parsers definition and generic dispatch function