Clean code, test connect methods

Cleaned defaults code. Cleaned main methods. Updated connect method to
work with objects and comma sep args.
update test page

Updated test page to use newer methods.