Move provide form to the end of file

Any errors in the code after provide will leave the feature registered,
so provide form should always be at the end.
Merge pull request #7 from yasuyk/move-provide-form-to-end

Move provide form to the end of file