How To Modify The Separate Settings Page Of My Module?

I want some more functionalities to it. I added some with javascript via functions in It is okay? I know |I should modify some mode.tpl but the documentation is very poor about it and there are no other tutorials about this

You can call separate template for your addon. Use Searchanise module as example

Thank you