feat: api endpoint to update a record
refactor: directory layout
feat: adding and deleting of domains