Payday Shell/structure

Since I'm not farmiliar with Magento this represent quite hard task for
me in small amount of time. I dont want to submit
non-working/half-working/copied extension since I wont use code that I
dont know what it is exactly doing.  By examining magento I've made
shell of comments that should be replaced with actual code.