Adding mysqli database object to wrap db querying functionality using mysqli