Create db layout