Step by step on using simplemode addon

Hi, I was wondering if anyone could give me a step by step guide on how to add the simple mode addon and create a custom simple mode, with all of the files [“codemirror.js”, “simple.js”, “my_mode.js”] downloaded.

The simple mode demo does all that, so checking its source might help.