Fixed up a dirty cast
Wired OID login for the most part -- just a few t's to cross
Wired up metadata upload/retrieve. Still have not tested it