Create iwmd.c

First commit