added the parser and modified CMAKEÖISTS