chore(dd-lib): remove `has` function and use indexOf
refactor(dd-lib): refactor dd-lib into seperate files by functions