Database

Includes functions for database.