Modified code. Parser is functional, but lazy reading is still a problem.
Added config file