init build database