Code refactoring
- created a new class Parser that holds all static methods used to generate input
- corrected a typo => absolut to absolute
- added some javadocs