Added methods for adding objects to global scope and accessing object from global scope (needs some refinement and fixing)
Callbacks are now optional.
Errors are only thrown if callbacks are not specified, otherwise the callback is called and passed in an error object.
Updated testing to do some limited error testing (should have more).