Add the possiblity to change the database to query
Add missing functions