changed serialization to Gson, got rid of old NetworkHandler.java