Add directory parameter and defaults
Add info about Submodule objects and function descriptions