Add getAllBuildings method in DatabaseService