The DB class is in the global namespace. This error message indicates your current namespace is "\Model", in which there is no class called DB.
When you are in a namespace, and you need to access Fuel classes, you need to access them from the global namespace, by prefixing them with a backslash: