Example Magento module.

Adding controllers, models and layout xml

new file:   app/code/community/Magentostudy/News/Block/Magentostudy_news.xml
new file:   app/code/community/Magentostudy/News/Model/Resource/News.php
new file:   app/code/community/Magentostudy/News/Model/Resource/News/Collection.php
new file:   app/code/community/Magentostudy/News/controller/IndexController.php
modified:   app/code/community/Magentostudy/News/etc/config.xml