Move some code arround
split test cases
Add test cases for invalid server configurations
split connection code
Don't pass the password in the command line when doing listShares