CHG: the SSLSocket uses a cipher suite, which generates an exception and
prevents the connect to the Gallery server

According to
http://stackoverflow.com/questions/6851461/java-why-does-ssl-handshake-give-could-not-generate-dh-keypair-exception
I have added code to remove the cipher suites, which contain _DHE_ or
_DH_ in the suite name to prevent the
java.security.InvalidAlgorithmParameterException: Prime size must be
multiple of 64, and can only range from 512 to 1024
ADD: new classes and interface for MVC
ADD: some code comments to understand the codebase