Restructured for npm compatibility

Moved files around, updated package.json, retested, published on npm