Reference:
http://ez.no/products/ez_publish/documentation/development/extensions/module/hello_world
http://ez.no/products/ez_publish/documentation/development/extensions/building_an_ez_publish_module
(You do not need the fetch function here) http://ez.no/community/contribs/applications/extension_manager