added missing database-related files (todo: implementation)