You can find the modules in the mod directory of the moodle installation. Yo can develop new modules by modifying any existing one or by starting from the 'template module'. Many modules including the template module can be downloaded from the moodle modules and plugins site
More help can be found in the developer documentation here and of course through moodle forums
General developer forum
Whether I can add my own modules in moodle
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.