Store program in db and use it for faster parsing