included new code which integrates the scala http client 
and spray json api