refactor droplet into resource namespace