Working authentication and command sending.  First steps towards a DTO library.