Restructured package to use npm, added npm test.