Added StrictModeThreadPolicy code in to allow the application to run
network commands on the main thread. Will convert to Async tasks once
app is stable.