Refactoring DB seed script