How to enable user defined module from the administration menu list?
You should follow these steps. This may help you to better understand that how to create custom module. If you have any query then comment below.

Link