Connection issues and features

Taking care of connection issues and also added image feature! :D