Migrate extensions to inherit from Extension class.
Merge pull request #14 from incuna/refactor-extensions

Migrate extensions to inherit from Extension class.