Added readme and updated license.
Removed unused import and revised napi magic.