Move functionality of db-write to repo_management
The standalone script db-write needs to be turned into an entry_point and its functionality needs to be moved to the repo_management module.
The standalone script db-write needs to be turned into an entry_point and its functionality needs to be moved to the repo_management module.