[Parser] Modified Constructor and API