Create a new Database instance on static functions instead of referring to the non-existent $this->db property