Initializing Database when API starts