Database initialisation worked and moved to a separate module