added parser selector framework