Refactor newrelic module
Add basic spec
Complete spec and fix installation order