Create a loadDatabase method