Made database a singleton for reeealz
Made database an instance