refactoring BNFReader - added throw case for unrecognized tokens in
configuration file