Update README.md explaining how to write modules