Organise database initialisation script