Restructured to resemble npm package.