Updates to how npm organizes things now. Adds 3 latest versions. Filters out core from unit tests for version from and after 1.5.2
Makes import compatible with 2.1.0+
Refactors main script for clarity and in preparation of 2.1.0