Introducing sane directory structure for parser.

Having all those things in individual files, instead in a big one,
will sure increase their maintainability.