made method names consistent
major refactoring of parser component
continued refactoring of parser component
bugfix, invariant will not be checked in front of constructor