Added significant functionality, autoAuth mode, examples, and tested code.