Refactor: split parser-c to 2 files