added new relic
added new relic plugin and required it in file
made spelling change
moved methods into a seperate file