#53 refactoring simpleClient.hs