Refactor eis nx module

Hi Garret, I see you have been busy at the other sites :)

I was not able to find time to test the nx module before my vacation, sorry about the delay. I have tested it in a test environment and looks better now. There are a few more things I want to test in a real production server before I feel confident to release this but I figure we do another round now at least. Should be OK as a release candidate.

/Ralf