Add db module with basic tables.