Adding uploader and fog initialization