Write a .module file

Draft (work in progress) -- AWAITING PEER REVIEW