Cleaned up the test code.
More test code cleanup
Created a module exports file
Removed the old main JavaScript file