made source more readable
allowing depenencies to reolve to undefined and null, plus docs
doc update