fixing instanceof
adding all-in-one header with parser version
started to made a better parameter handling