Initialise database connector on require