Basic data downloader Listing 3.1 Listing 3.2 Querying data from the package server Listing 3.3 Listing 3.4 Register a new package Listing 3.5 Listing 3.6 Sending package data Listing 3.7 Listing 3.8 Listing 3.9