more doc tweaks
added modules and first draft of code