added newrelic support, almost finished ESD parser