move DB components to folder