Create a new module on joomla 1.7

I moved to joomla to make a small job .
I needed to make a new module to make things customizable on the home page ,  but it seems that joomla 1.7 uses a new way to make modules, rather than the one described in their documentation ( click here ) .

You will make everything as the tutorial said , except some small changes in the xml file .
To add files and folders , you don't need to write all files in each folder but you can include a complete folder in a way like that


When you write tmpl , all files inside this folder are automatically included .
Also you will have to take care when you include parameters , there is a new way to do that