DB rake namespace refactoring