Remove sdb declaration
Fucking big refactoring