getArguments finalization and documentation
major code clean-up, first rudimentary version of documentation