Correcting the module template
Removing old hooks
Better checking for preexisting feeds.