in reply to how to create Modules
Hello
Please read Simple Module Tutorial.
I hope this link would be helpful