- Create modular code - separate out DB models as a dependency in service layer - Use a suitable library for dependency Management