Added targetFiles functionality and updated package.json for publication on npm