Refactor: move common routines into separate methods
drwxr-xr-x - dbadm
drwxr-xr-x - external
drwxr-xr-x - manager