Refactoring DiceConnection

DiceConnection receives the connection information and wraps the hides the information from others.

Issue #22