move md5 function into utils
remove coding style violation
make use of new ConnectionParameters "class"