Changed the module into a HAPI plugin
Refactored to work as a plugin
Merge pull request #2 from VisualGuruz/hapi-plugin

Hapi plugin