Rename modules, and fill out functionality for the various databases
that are needed to track resources, and host<->pid mapping.