Add keywords to package.json.
Change implementation from object to class notation.