change Parser to a servlet