Added support for authentication and selecting a specific database during initialization with options.

see README.