Database creation and first tables