Built Teams singleton, database interface, and resources.