To learn how to create new module please visit:
[url=http://www.epesi.org/Category:Developer_Tutorials]http://www.epesi.org/Category:Developer_Tutorials[/url]
If information on our wiki is not sufficient please post questions on this forum and we will try to help you to accomplish the desired effect. Ideally please describe the case, scenario of the problem you are trying to solve and if possible paste your existing code.