code for model driven UI v1.0
till inclusion of httpclient jars in pom