Add warnings and error to batch client.

Warn if too many arguments are passed, error if too few.
Allow base and memory size to be specified

Word size is automatically determined.
Add auto-generated documentation.